﻿//Create By Leven
//Copyright 2008 LevenStudio
//http://leven.com.cn/
//For LevenBlog2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace LevenBlog.Core.Entities
{
    /// <summary>
    ///表lb_state
    /// </summary>
    [Serializable]
    [DataContract(Name = "state")]
    [Table("lb_state", Info = "")]
    public class lb_state : BaseEntity
    {
        [DataMember]
        [Column("id", DataType.Int32, Length = 4, CanNull = false, AutoIncrement = true, PrimaryKey = true)]
        public int id { get; set; }

        [DataMember]
        [Column("blognum", DataType.Int32, Length = 4, CanNull = false)]
        public int blognum { get; set; }

        [DataMember]
        [Column("commentnum", DataType.Int32, Length = 4, CanNull = false)]
        public int commentnum { get; set; }

        [DataMember]
        [Column("tracknum", DataType.Int32, Length = 4, CanNull = false)]
        public int tracknum { get; set; }

        [DataMember]
        [Column("usernum", DataType.Int32, Length = 4, CanNull = false)]
        public int usernum { get; set; }

        [DataMember]
        [Column("tagnum", DataType.Int32, Length = 4, CanNull = false)]
        public int tagnum { get; set; }

        [DataMember]
        [Column("hits", DataType.Int32, Length = 4, CanNull = false)]
        public int hits { get; set; }

        [DataMember]
        [Column("online", DataType.Int32, Length = 4, CanNull = false)]
        public int online { get; set; }

    }
}

